package com.zhanghe.study.design_pattern.state_pattern;

/**
 * @author zh
 * @date 2022/10/17 11:09
 */
public class Context {
    private IState state;

    public void setState(IState state) {
        this.state = state;
    }

    public void request(String param){
        state.handle(param);
    }
}
